package com.ruoyi.assemble.datamanage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @ClassName : LoadRecord
 * @Description :
 * @Author :
 * @Date: 2021-02-04 16:28
 */
@Data
@ApiModel(value = "LoadRecord", description = "加载记录")
public class LoadRecord {
    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "唯一标识", name = "id")
    private String id;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id", name = "projectId")
    private String projectId;
    /**
     * 阶段id
     */
    @ApiModelProperty(value = "阶段id", name = "stepId")
    private String stepId;
    /**
     * 节点id
     */
    @ApiModelProperty(value = "节点id", name = "nodeId")
    private String nodeId;
    /**
     * 类型
     */
    @ApiModelProperty(value = "类型", name = "type")
    private String type;
    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称", name = "typeName")
    private String typeName;
    /**
     * 父类型
     */
    @ApiModelProperty(value = "父类型", name = "parentType")
    private String parentType;
    /**
     * 父类型名称
     */
    @ApiModelProperty(value = "父类型名称", name = "parentName")
    private String parentName;
    /**
     * 父文件名称
     */
    @ApiModelProperty(value = "父文件名称", name = "fileName")
    private String fileName;
    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小", name = "fileSize")
    private float fileSize;
    /**
     * 文件来源
     */
    @ApiModelProperty(value = "文件来源", name = "fileSource")
    private String fileSource;
    /**
     * 文件状态代码 0待配置 1待加载 2加载成功 3 加载失败
     */
    @ApiModelProperty(value = "文件状态代码 0待配置 1待加载 2加载成功 3 加载失败", name = "state")
    private String state;
    /**
     * 文件状态文字 0待配置 1待加载 2加载成功 3 加载失败
     */
    @ApiModelProperty(value = "文件状态文字 0待配置 1待加载 2加载成功 3 加载失败", name = "stateText")
    private String stateText;
    /**
     * 文件地址
     */
    @ApiModelProperty(value = "文件地址", name = "filePath")
    private String filePath;
    /**
     * 失败原因
     */
    @ApiModelProperty(value = "失败原因", name = "errorText")
    private String errorText;
    /**
     * 文件列标题
     */
    @ApiModelProperty(value = "文件列标题", name = "fileTitle")
    private String fileTitle;
    /**
     * 配置后文件列序号
     */
    @ApiModelProperty(value = "配置后文件列序号", name = "afterOrder")
    private String afterOrder;
    /**
     * 配置后文件列code
     */
    @ApiModelProperty(value = "配置后文件列code", name = "afterCode")
    private String afterCode;
    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人", name = "operator")
    private String operator;
    /**
     * 操作人名称
     */
    @ApiModelProperty(value = "操作人名称", name = "operatorName")
    private String operatorName;
    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间", name = "operationTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationTime;
}
